package com.seeyon.apps.ddkk.timer;

import java.util.TimerTask;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.seeyon.apps.ddkk.manager.QiangsDDManager;
import com.seeyon.ctp.common.AppContext;

public class NodeDealTimers extends TimerTask {
	
	private static final Log log = LogFactory.getLog(NodeDealTimers.class);
	private QiangsDDManager qiangsManager = (QiangsDDManager) AppContext.getBean("qiangsDDManager");
	
	@Override
	public void run() {
		// TODO Auto-generated method stub
		try {
			//节点自动处理任务
			log.info("##强生客开: 执行节点自动处理***************************start");
			qiangsManager.dealFormNode();
			log.info("##强生客开: 执行节点自动处理***************************end");
		} catch (Exception e) {
			// TODO Auto-generated catch block
			log.error("##强生客开: ", e);
		}
	}

}
